body
{
  margin:0px;
  padding:0px;
  min-width:600px;
}

.header
{
  height:50px;
}

.header h1
{
  padding:0px;
  margin:0px;
  margin-top:-50px;
  text-align:center;
  color:black;
}

table#card_distribution
{
  width:100%;
}

#card_container
{
  width:100%;
  height:340px;
  background:rgb(225, 225, 225);
  border-top:1px solid black;
  border-bottom:1px solid black;
  position:relative;
  margin:0px;
}

#card_expansion
{
  padding:0px;
  margin:0px;
  width:100%;
  background:rgb(80, 80, 80);
  color:rgb(225, 225, 225);
  height:20px;
  text-align:center;
  font-weight:bold;
  font-size:20px;
  padding-top:5px;
  padding-bottom:5px;
}

.card_image, .card_image>img
{
  height:310px;
  width:223px;
  border:none;
  position:absolute;
  float:left;
}

.card_image>div.tooltip
{
  width:221px;
  height:123px;
  display:none;
  position:absolute;
  bottom:12px;
  left:0px;
  background-color:white;
  border:solid 1px black;
  color:black;
  overflow:auto;
}

.card_image:hover>div.tooltip
{
  display:block;
}

.card_image>.card_image_footer
{
  width:200px;
  position:absolute;
  left: 11px;
  opacity:1.0;
  margin:0;
  bottom:0px;
  padding:0;
  text-align:center;
}

.card_image>.card_image_footer>.total_amount_indicator
{
  color:white;
  margin:0;
  padding:1px;
  font-size:10px;
}

.container
{
  width:100%;
  text-align: center;
}

.inner
{
  display: inline-block;
  text-align:center;
}

.extension_banner
{
  clear:both;
  width:100%;
  background: black;
  text-align:center;
  margin-bottom:5px;
}

.tooltip>table
{
  text-align:left;
  padding:0px;
  margin:0px;
}

tr.tooltip_even
{
  background:white;
}

tr.tooltip_uneven
{
  background:#CCC;
}

th
{
  background:black;
  color:white;
  font-size:14px;
  text-align:center;
}

td.collection_name, td.deck_name
{
  height:0px;
  text-align:left;
  max-width:40px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

td.collection_name a, td.deck_name a
{
  text-decoration:none;
  color:black;
  white-space: nowrap;
}

td.collection_name a:hover, td.deck_name a:hover
{
  font-weight:bold;
}

td.collection_name a:hover, td.deck_name a span
{
  display:none;
}

td.collection_name a:hover, td.deck_name a:hover span
{
  display:block;
  position:absolute;
  border:1px solid black;
  background:white;
  margin-top:-19px;
  padding:2px;
}

td.collection_amount, td.deck_amount
{
  text-align:center;
}

.amount_changer
{
  border-left:1px solid black; border-right:1px solid black;
}

.foil_amount_changer
{
  background: rgb(183, 183, 183);
}

.amount_changer, .foil_amount_changer
{
  width:20px;
  font-size:0px;
}

.amount_changer img, .foil_amount_changer img
{
  padding:0px;
  margin:0px;
  width:10px;
  height:10px;
}

p.total_amount
{
  margin:0;
  height:20px;
  background:gray;
  color:white;
}

table.expansion_overview, table.collections_overview, table.decks_overview
{
  padding:0px;
  margin:0px;
  width:75%;
  border:1px solid black;
}

table.expansion_overview th, table.collections_overview th, table.decks_overview th
{
  background:black;
  color:white;
  padding-left:5px;
  padding-right:5px;
}

table.expansion_overview tr.even_row, table.collections_overview tr.even_row, table.decks_overview tr.even_row
{
  background:white;
}

table.expansion_overview tr.uneven_row, table.collections_overview tr.uneven_row, table.decks_overview tr.uneven_row
{
  background:#CCCCCC;
}

table.expansion_overview td, table.collections_overview td, table.decks_overview td
{
  text-align:right;
  padding-left:5px;
  padding-right:5px;
  border-top:1px solid #888;
}

table.expansion_overview td.expansion_logo, table.collections_overview td.collections_logo, table.decks_overview td.decks_logo
{
  width:40px;
  text-align:center;
}

table.expansion_overview td.expansion_name, table.collections_overview td.collections_name, table.decks_overview td.decks_name
{
  text-align:left;
}

table.expansion_overview td.expansion_name a, table.collections_overview td.collections_name a, table.decks_overview td.decks_name a
{
  color:black;
}

table.expansion_overview td.expansion_name a:hover, table.collections_overview td.collections_name a:hover, table.decks_overview td.decks_name a:hover
{
  font-weight:bold;
}

footer
{
  clear:both;
  background:black;
  color:white;
  margin-top:10px;
  padding:5px;
}

footer h5, footer p
{
  margin:0px;
  padding:0px;
}

footer p
{
  font-size:8pt;
}

div.card_details
{
  padding:0px;
  margin:0px;
}

div.sub_card_details
{
  padding:5px;
  border:2px solid black;
  margin-right:5px;
}

div.sub_card_details h5, div.sub_card_details p
{
  padding: 5px;
  margin: 0px;
}

div.sub_card_details p
{
  text-align:right;
  font-size:14px;
}

div.sub_card_details p.card_text
{
  text-align: left;
}

div.sub_card_details p.flavor_text
{
  font-style: italic;
  text-align: left;
}

div.external_links
{
  background:#CCC;
  color:black;
  width:100%;
  border:1px solid black;
  margin:0px;
}

div.external_links h5
{
  padding:0px;
  margin:0px;
  text-align:center;
}

p.total_amount_indicator
{
  background: black;
}

.scroll_button
{
  background:white;
  color:black;
  font-weight:bold;
  padding:2px;
  border:1px solid black;
}

.scroll_button:hover
{
  color:red;
  cursor: pointer;
}

.search_result_cardname
{
  color:black;
  text-decoration:none;
}

#CBOX_INC_RED, #CBOX_EXC_RED
{
  background-image: url('../images/symbols/Red.jpg');
}

#CBOX_INC_GREEN, #CBOX_EXC_GREEN
{
  background-image: url('../images/symbols/Green.jpg');
}

#CBOX_INC_BLUE, #CBOX_EXC_BLUE
{
  background-image: url('../images/symbols/Blue.jpg');
}

#CBOX_INC_WHITE, #CBOX_EXC_WHITE
{
  background-image: url('../images/symbols/White.jpg');
}

#CBOX_INC_BLACK, #CBOX_EXC_BLACK
{
  background-image: url('../images/symbols/Black.jpg');
}

#CBOX_INC_COLORLESS, #CBOX_EXC_COLORLESS
{
  background-image: url('../images/symbols/Variable Colorless.jpg');
}

.color_checkbox
{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height:25px;
  width:25px;
  padding: 9px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  opacity:0.25;
  background-size:100% 100%;
  background-repeat:no-repeat;
}

.color_checkbox:checked
{
  color: green;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  opacity:1.0;
}

canvas
{
  margin:5px;
}